<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
<head>
<title>IGNORE</title>
</head>

<body>

	<ui:composition>
		<h:form>
			<p:panel>
				<h:panelGrid columns="1" cellspacing="10px"
					style="width:100%;font-size:1.4em;font-weight:bold">
					<h:outputLabel
						value="In order to make sure our vegetable is freshest,we pick vegetable in morning, and deliver to your home the same day from 4PM to 8PM.  " rendered="#{msgs.market=='FarmToKitchen'}"/>
					<h:outputLabel
						value="You can choose to pay upon delivery or pre-paid. Please make sure someone at home, if you choose to pay upon delivery." rendered="#{msgs.market=='FarmToKitchen'}"/>
						
						<h:outputLabel
						value="In order to make sure our vegetable is freshest,we pick vegetable in morning, and deliver to our customers the same day from 2PM to 6PM.  " rendered="#{msgs.market=='Company'}"/>
					<h:outputLabel
						value="You can choose to pay upon delivery or pre-paid. Please make sure someone can receive your order, if you choose to pay upon delivery." rendered="#{msgs.market=='Company'}"/>
				</h:panelGrid>
				<ui:remove>
					<p:separator />
					<h:dataTable id="buildingList" border="0"
						value="#{Building.cart.objects}" var="data"
						style="width:100%;font-size:1.3em" rowClasses="oddRow,evenRow">

						<h:column>
							<f:facet name="header">
								<h:outputText value="Building" />
							</f:facet>
							<h:outputText value="#{data.buildingName}" />
						</h:column>

						<h:column>
							<f:facet name="header">
								<h:outputText value="Delivery Day" />
							</f:facet>
							<h:outputText value="#{data.deliveryDayDesc}"
								style="text-align:center" />

						</h:column>

					</h:dataTable>
				</ui:remove>
			</p:panel>
		</h:form>
	</ui:composition>
</body>
</html>